<?php
App::uses('AppModel', 'Model');
/**
 * Post Model
 *
 * @property User $User
 */
class Member extends AppModel {
/**
 * Validation rules
 *
 * @var array
 */
    public $name = 'Member';
    public $useTable = "members";
    public $validate = array(
        'name' => array(
            'notEmpty' => array('rule' => 'notEmpty', 'message' => 'Please enter your name'),
            //'unique' => array('rule' => 'isUnique','message' => 'Name existed, please try again.')
        ),
        'location' => array(
            'notEmpty' => array('rule' => 'notEmpty', 'message' => 'Please enter Division'),
            //'unique' => array('rule' => 'isUnique','message' => 'Division existed, please try again.')
       
        )
    );
}
